Skip to content

update pytest ini example#8

Merged
alexdej merged 1 commit intomainfrom
alexdej-readme-patch-1
Mar 26, 2026
Merged

update pytest ini example#8
alexdej merged 1 commit intomainfrom
alexdej-readme-patch-1

Conversation

@alexdej
Copy link
Copy Markdown
Owner

@alexdej alexdej commented Mar 26, 2026

replace suppress --suppress=normalCheckLevelMaxBranches with --check-level=exhaustive in example config for better conformance with cppcheck recommendation.

replace suppress `--suppress=normalCheckLevelMaxBranches` with `--check-level=exhaustive` in example config for better conformance with cppcheck recommendation.
Copilot AI review requested due to automatic review settings March 26, 2026 21:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the README’s recommended pytest.ini/[pytest] example for cppcheck_args to align with newer cppcheck configuration guidance.

Changes:

  • Replaces the example suppression of normalCheckLevelMaxBranches with --check-level=exhaustive.
  • Removes the missingIncludeSystem suppression line and the paragraph explaining the suppressions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines 59 to 63
[pytest]
cppcheck_args =
--enable=warning,style,performance,portability
--suppress=missingIncludeSystem
--suppress=normalCheckLevelMaxBranches
--check-level=exhaustive
```
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says this change only replaces --suppress=normalCheckLevelMaxBranches with --check-level=exhaustive, but this hunk also removes the --suppress=missingIncludeSystem example and the explanatory paragraph about both suppressions. If removing missingIncludeSystem guidance is intentional, please update the PR description (and consider adding a brief note on how to handle missing system headers); otherwise restore the removed suppress/example text.

Copilot uses AI. Check for mistakes.
@alexdej alexdej merged commit ae980d6 into main Mar 26, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants